package com.xiaofeng.dao.idao;

import java.util.List;

import com.xiaofeng.pojo.Page;
import com.xiaofeng.pojo.Transfer;




public interface TransferDao {

	//增加
	void insert(Transfer transfer)throws Exception;
	//删除
	void delete(Transfer transfer)throws Exception;
	//修改
	void update(Transfer transfer)throws Exception;
	//id查询
	Transfer findById(int id)throws Exception;
	//查找所有
	List<Transfer> findAll(int num,int size)throws Exception;
	//页数查询
	Page<Transfer> findByPageNo(int pageNo)throws Exception;
	//获取数据总条数
	int getTotalNum()throws Exception;
}
